package com.a008cjx.myrecyclerview508cjx.service;

import com.a008cjx.myrecyclerview508cjx.bean.ArticalBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/5/16.
 */

public interface ArticalService {
    @GET("api.php/lists/mod/{mod}")
    Call<List<ArticalBean>> getArticleList(@Path("mod")String mod, @Query("page") int page, @Header("SessionID") String sessionID);


    Call<List<ArticalBean>> getArticalList(String mod, int page, String sessionID);
}
